package com.example.springbootlearn.config;

import org.springframework.stereotype.Component;
@Component
public class CircularDependencyB {

    private CircularDependencyA circA;

    public void setCircA(CircularDependencyA circA) {
        this.circA = circA;
    }

    public CircularDependencyA getCircA() {
        return circA;
    }

    public CircularDependencyB(){
        System.out.println("B创建成功-----");
    }

}